cleaned up routes in generator