cue fixed for detached branches, revert palette changing