Fixed bug with constants and chat