add awakeFromNib method, support to add it from nib