after a lot of work initialization at startup is now working.