validate the effect of the user-agent