修复doorkeeper升级bug