fix tour bug on safari