Accounting for possible weirdness in program locations