composer legend styles fix