fixing double cascade