Revert "fix some warnings"

This reverts commit dd7af953c5c732ea836f3c24f93f8ba7fc844049.