remove wrong references