fixes file heritage