readDatabase: correct indentation