limt chat messages to 50
Merge branch 'haidev'