fix comment pattern priority