fixes bugs when controller is not initted with initWithItems