removed stupidity (nullptr->first)