fixed badging bug