Fixing unset var