added fixme for global vars