fixed some clang issues
working through the options