fixing list errors
fixing isDense error