xbrowser compability fix