delete shadowed var issue