Fix badge loader