Fix compound edit