fix bug in listing