fixed dict to list issue