deal with nil tags