undo changes to ch_type