fixed error when pressing equals after an operation sign