clean up export spec bugs