fixed broken links which stopped some info being saved to db