fixed the upgrade of pavlova