fix safari nav issue