fix delete by trigger

dunno why cascade on delete dun wurk yo