bugfix for firefox 32+