Fix unitialised variable