[#8] Handles incorrect padding issue.