fixed create purchase bug