fix ignoring current and parent directory in listing