Placed sublist padding code in wrong block