fix daemon for distribution arg