fix upgrade path
fix upgrade path