make mobileinput event more reliable