Verify that if defined is working