fixbug of dependency
remove afx
 move effect to afx
 move effect to afx
 .
 add attribute for function
 add attribute for function