fixed create purchase request
fixed conflicts in codes