fixed safari fail