bug fix for auto comment