changed global $kga to $this->kga
Merge pull request #390 from kevinpapst/fixes-RC2

changed global $kga to $this->kga