fixing typo in database variables