Fixed keys argument for list() function