Fixed issue in multipart post handling