Revert "warning fix"

This reverts commit df4a7231dbd80fd378679cac04dde687be677502.
- fixed warning