generater completed , fix #2