fix equal sign reseting issues