this changes fixes problem where unexpected was added to list so now fnames is first set to