add default resource support