Fix. Statement destroy wrong type of handle.