Fixing bad syntax