fix for foo is typing.. not always showing

fix bug when the "user is typing..." message is not shown