fixed static analysis complain