Fixing syntax errors with default variables.