Fix view generate password