fixed bug in my calculator