fix issue with xpad