Bugfix, adjust delete submit method