Remove trailing spaces
Always initialize databaseInfo