delete dead code from board