fixed issue with no-input on first prompt