fix layout issues on firefox