fix for firefox 21