fixed delete board functionality.