syntax error on resource field fixed