bug fix in listing delete