don't let empty strings kill the server (postgresql and apache)