Fix disabled export function.