bugfix for badge detail