fixing list syntax