fix ''cannot remove reply'' bug