fixing the padding issue