delete failed spec code
Merge branch 'enhance/delete_failed_spec'