fix bag on firefox