fixed inputting passwords