fix for bug #27826: fixed autoDisplayComment