Fixed Medal bugs.