Prevent url routing twice by menu