fix export function (pb status)