CRP initialization V.3

fixed a bug.