before clear comments