Fixed nosql initialization