fix #46 issue