Provided a patch as per the solution suggested in #39. Please review.
no need...