Fixed a bug in the dissipation term close to the wall