channel ids are now properly saved in statements