Fixed get_name function call