fix wrong hex length