Fix linkshp order and move action2 before action3