fix changes mention in pull request for issue #23