fixed analyzer warning