fix rm -rf failed