Fix error when having duplicated export objects