fixed issue with stealing input