Fixed $last instance in page builder