fixed bug in plotting dN/dt