fixing list at the end