migrate to idea