fix route can be shown if not published