making rmfolder work without frce option