fix unsett variable for menu tree - v0.0.5