The default value probably should be an empty string, and without conversion to integer.