restored fnc / fixed empty repo var