move slave location create out from initializer