bugfix migrate cookbook