How did immigration change due to World War 1?

all the killing in the country made it less safe