more plotting fixes