fixed cascade handling in crud triggers