Fixed bug with missing domain