removing the padding