fix null user_agent value