fixed sidelegend for the derived variable