Change empty string to invalid