fix issue repored in #27