fix error with input 10