Fixed bug in getInt function