FIX for: exception :SyntaxError: Unexpected end of input