remove cue function