fixup plotting