fix set to free var