removed some clang warnings (when compiled default flags; -Weverything -pedantic pending)