Avoid creating undef variable