fixed issue #101 (useless when DELETE ON CASCADE will work)