fix issue ref #44