fixed layout issues in safari