build: revert some of warning fixes
build: fix some warnings