Fixed error in routes