fix firefox float error