modified advanced password to make temp pass static