Correction to fix depth and rseries size mismatch