[dyanmo]fix cyclic dependency