restrict chat mode done
error fix