corrected syntax error in the resource call.