ERROR: invalid input syntax for integer: ""