fix enum error
not to raise exception when there are failures
add attribute of failures