fix for firefox layout