Didn't restore old bot code properly