minor fix in logicalstep cleanup