misc fixes to mdp client