fix problem on firefox