fix cascade delete