fixed locate again leaf is working