Removed extaneous variables in menu routes functions