add some event in type define panel