Removed broken code from routes