changed the behaviour of command line option "--domain"