fixed cascade handling in foreign_key