better browser friendly fix