fixing return digits list.