Prevent error notices when variables are undefined