fixing input units