modify a bug on haar-8 when trainning