fixed safari issues