updated dir rename logic
properly rename source