Fix make_resource since 4cd0103