fixed compose bug