fix automation medals by Armando

@eliopinho here is the fix for what you say