fix user-agent duplication