fixing mozilla UI problems