more misc fixes totry to get it running