fix compatibility with shitty mobile clients