fixed control data bug