fix typo in Purchase controller