fix index fields may be scalar