fix to observer chat code