fix password replace missing braces