fixed a bug with items containign c in rdirs