Fixing improperly setup routes