fixed database dserial type error