console calculator fix