disable export middleware for now until proper exception handling is in place