picks attr properly when listing products