Fixed bug with not handling padding values.