fixed incompatibility with FF30