fixed safari layout issues