fix ui for firefox