more bug fixes to init files