the extra } was kind of a typo.. the original code had it in an if, and in attempting to find the simplest script that would duplicate the error, i forgot to remove that extra }. does the same thing either way.