some bugs fixed

fix bugs in lpel thread assign