fix clean method