deleted tpnewstyle and tpnewindex