fixed constructor in DrafDB