Fixed bug related to Pad arraylist