changed .parent to .closest in errors