fixed some code analysis warnings