fixed incompatibility with ie