fix hack in case user don't provide domain