fixing user-agent error