Fix error in input because addInput does not accept null as default value any more
