Solve crash when make a comment