correctly sets detail item