Error in init of inputs