[fix] remove old id dimension before creating new one