IST-109, fixed bug in int conversion