fix get badges