Some bug fix and remove tpa param for 328p platform