fix crash issue when editing comments

fix crash issue when editing comments