revert from badge int