Comment array is written only once