cleanup mptcp function, fix mimetype display