bugfix with miltiple fields