fix issue47