Work on Mysqli bug, add leaf method to Nav