fix the padding issue