libmp: small changes