fixing inputs