bug reported in #35 - left padding mistakenly set as right padding instead

fixes #35