fix for rendering error in firefox