gisi: fix use of unitialised variable