Fixed some installer issues with the db