corrected bug in int values