fixes #4, missing brakets after isMultipart, repoerted by pxp44