little change in LS and python extension