adding charts works with some client-side messaging
clarified error message