minor change for automatic folding.