bug in value_erros solved