The role of memory for compounds in cue competition