Fixed skipfoldef bug