fixed #1 TypeError: Parameter url must be a string, not object