Fixed session initializer and globals initializer