check for folded