change craeteChannel to createChannel