fix a bug when level is 1