return nil for -first with nil