// autoupgrade, bad query