fix the exposure legend behavior