fix fig legends