rets import bug fix