fix color code references to the stack figure