moved the redirect after the loop in translate naighborhood and translate developer functions