do not alloc if mode conut is 0