Fix global env variable typo on database setting