fixed exchange of badge and device action