fix up prescriptions and problems