fixed with plots of two types