Added fix setting integer values from forms etc