fix: cannot clear content of room;
other minor changes.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>