remove UID pool channel and replace it by plain function call