Changed global folding to fold to one level