fix for firefox 34