Small bug when default domain not set