Fix Portfolio unset var