generating charts again, if it fails on the first try
displaying query error