fix promise sample and safari