FIxed bug in get_name