simplify pattach