typo on delete query