add .strip to key/input comparison