Fix display of inputs on error, references #327