fix padding issue on 46 and up