fixing validation issue highlighted by issue #42