fixed incorrect str_pad syntax