fixed overwritten changes

code changes were clobbered by previous commit