fix issue #46 for kyle