proper reply checking and cleanup using a macro
add channel parameter