remove unused things
various clang warning findings