fix issue reported within the comments of #25 by @grke