fixed medal problem