Padding: Bug fix