fix clean behavior