fixed ERROR 1217 (23000) at line 3007: Cannot delete or update a parent
row: a foreign key constraint fails