fixed bug in plot(arapat)