Fixing GM tool to control the faction relations