cleanup getStoreStmt