fix issue 259