Fixed issue when user_agent exceeded 200 chars