fixed event bug in smart content