fix autoCreate in afterInsert