Fix medal bug