prevent some references to non-existing variables