removed more debug and ENDOFINDEXSCAN