Fix genbuf/attach issue with specs