fix new simplied Inlinks code some more