fix issue in idxbuilder if not id are passed
fix typo