fixing regex to pickup all failed statuses