new migration and fix purchase