statement handle check before use