Fixed typo and enabled decision for DB access