still more fixes

input pre-population now working ok