merged duplicated declaration blocks