correctly determine sti before building relationships