fix for inputs in iOS