fixing badges