fixed password issue while editing