typo
ensure db joins are deleted accordigily