Fix not work in firefox