fixed the patch linux script