Fixed get_length() call