nil route bug fixed.