fix editComment when userId is a string