patch for pull request#191

#191