fixing tree item utility in responses