fixed length and padding problem