fixing error in storing of infos