plot fixes