code simplification.
don't override another variable with the same name.
Don't schedule shapefeature replacement that are equivalent.
Add comment.
remove var not used.
rename var to don't override another var of the same name.