clean up analyzer warnings