use patch to distribute