fixed some regressions introduced in the last commit and some lingering bugs
added some needed DECREFS b/c buildvalue increments the ref count automatically, so we were leaking