fix for badge