Corrected the padding error