scope problem with password module