was missing fold-code, in wrong place