fixed some problems with folding:x
fixed a compile issue with the syntax file