clear last row mswp.c