Fix typo in decorator