Fixing buf of valid routes