fixing visibility for badges