fixed safari layout bug
merged with origin