change right dir name from P to R