changed default resource_id validation