fixed formating user input bug