Structural traps caused by folding