fix some bugs in supg advection