fix crm syntax