change problems 'error_class' type to text from string