Fix call to "defined()" function