debugging mistakes