fixed browser incompatibilities