distributor: fix creation error checks