check for empty user_agent