replace nil tags with Object