standardize input