PartSize and deletePrescription bug fixed