bug fix (delete only deleted one record)