fixed routeType accessor to use button.config