bug fix from hash->type rename