Fix variable prefix/except bug.