Calculator compile fix