fixing github issue 143