change ap for L2 and L3