multipart out + bugfixes