fixed badge issue