fix gachas error