Fixed error generating int values - oops