fix 500 on comment edit