putf performance & cleanup