fix for issue #12: inputfromweb didn't work properly