fixed bug when variables are defined with =