fixed/silenced certain code analyzer warnings