Corrected getInt issue