was clearing a nonexistant variable