made it work in firefox