some more init optimizations