fixing bad syntax