fixed dropwizzard endpoints

See comment on `borrow`.