fixed input content selection bug