retrieve all fields if fieldlist is null

added small code to retrieve method to retrieve all fields if fieldlist is null.