Fixing incorrect syntax for DEFINE check