remove some bad syntax