corrected padding to conform with RFC 1321