fix for pull #11