bugfix on firefoxos platform