Padding fixes
Merge branch 'dev'