fix articles size may be zero error