jsnape's fix #8 (string padding)