Fix typo in prepare