fixed badges to work on mobile