read value from inputbox