check for empty string in tags