bugfix callback before insert data returned