Move chat to template
fixed