fixed erros with database.yml