fixed clean method