minor corrections for adp plots; not yet working