fixed error with undefined $fields array in Fuel_layouts class