cleaned up a few plotting commands