rectified migration for deploy