fix query resource endpoint for special chars children method