add cwn_dirty query code
add cwn_dirty query code