bug fixed - number of control data points