fix syntax issue to compatible with v3.5