fix resolve offline