Ups, middleware bug