read only mode -fix for db init