Fixed SyntaxError for printing nonexistent strings