fix a bug when single general