fixed pgive
Fixeds ptake