fix database.yml settings