cubes get_fields bugfix