fixed setting the scales parameter in RCPPB