removes brokerPwd