Bug that plotted only max