fix bug generate poorness