I think i implemented some safety checks before i calculate qth locator