fix browser incompatibility;