Fixed an error on too big pad