Fixed bug in advection