misc fixes to get app running