bug fixed in restoring-mechanism
bug in AI fixed