fixed minor stuff and cleaned up routes