Stop unwanted error with empty string