fix ww input function call