fix mds issue for password