fix %include bugs