remove ui dependency in item rest interface