remove duplicated declarations