remove unneeded condition from pot reading code