Fix treasure location determining