Bug in calling list() function using -l