i’ve figured out another solution
just removed all the libraries and re-installed them again, everything worked fine but it’s the uploaded code generates unusual o/p.
discussed in this thread
honestly i haven’t yet figured what exactly caused the problem.