[fix] use first domain if available