fix issue 45 update