fixed badge reset