Fix syntax errors related to runfragments