update code comment
fixed route flags