Fix double display of inputs