avoided exception when passed item is nil, just returning nil