Fix routes error