minor
cleanup of code for folding