Fixed Error with Genrate InOut from Record Weight