fixed bug with display of demand. still not moved the inputs.