Fixed execute() and fetchone()

and improved Error message