Fixed Bug in Counter Padding