fix typo in database attr