Compatibility as input

Fix compatibility problem as input password.