fix wrong usage of 'missing' function.

In the case, 'missing' always returns false. see its help page.