remove static analyzer warning