String validation was wrong