make upgrade level work