Fixing bug with setup of erodomain variable

Change-Id: Iad6fb2ce1099d9c65e02826159bdd900bd887c84