typo in purchase entity