core-4420 update logic to check safari