added inverse hooks to remove double insert