fixed empty list bug showing 1 bug