fix syntax error in YAP