fix gamepd problem