fixed fetch input method