fixed bug in connection.exec with no params