minor modifications

comments density reset to 0