afterInit