fixed weird folding issue