fixing multipart stupidness in plugin