fix code editing on firefox