fixed a few plot issues