minor  bug fix