fixing case of doOnce followed by a comment