fix pat