You've declared it to be an string in the schema so why the need to convert it back to an int?