add badge for failure