added resource error back with alternate syntax