fix migrate bug for same block