Fixed a bug in Purchase Module