bug fix, using the scan and scroll correctly, without from and size
clean up debugging tests