fixed a case when there are more than one LICENSE/COPYRIGHT sections in succession