fix to applying-user-agent-behaviors