Any person who is dissatisfied by the taxation of any bill of costs by the clerk may apply to the court in which the action or proceeding was had to retax the same, according to law. If the court finds any charge allowed for services not performed, or for which the person charged is not liable, or any item charged higher than is allowed by law, then the court shall correct such taxation; and if the dissatisfied party has paid such unlawful charge, the clerk shall pay to the dissatisfied party, out of fees in the possession of the clerk, the amount which such party has paid by reason of the unlawful charge.
735 ILCS 5/5-123