remove sub-syntax components