Fixed syntax error introduced from upgrade to 4.0