fixed bug in method openClean()