adds tooFew, tooMany, ...
fix refcnt (memory leak)