Fix createStream can not be invoked bug.