Removing some syntax errors