remove comments of rm dir