tips for fixing the folding bug
formatting