fix cross browser shit