fix for firefox 25
firefox fix