change sqli to object