Fix picking up failed status