But , while Hughes did think Zabaleta 's first caution for a foul on Maynor Figueroa was harsh , and also claimed the visitors should have had a penalty when the same Wigan man sent Shaun Wright-Phillips flying near the end , he resisted the temptation to attack Alan Wiley , preferring instead to praise the under-fire referee .