correct some bugs in fortress definition