fixed small calculator bug.