fix issue 478