fix error encoding on dashboard