Integer conversion bug

Handle non integer user input