fixing stopped status when  fail