fix static analyzer