better browser compability (Firefox)