fix in readiq, typo

running into memorry error is fixed in readiq()
typo in do_findrertick()