fix edit/delete comment bugs and search bug(special characters)