fixed packet handler and channel not being registered