ix possible npe in index process #4 and build 0.2.1