add post_construct&pre_destroy