Small fixs : DB not initialized, javadoc