Fixing invalid syntax