coerce values to int