refine UI for firefox