Fixed hook error on insert, v1.3.4