cw-763 bug fix

- a little bug fix