Reorder route priority and bugfix document urls