deal with empty worksheet

fix the issue:
when calling get_all_values() on empty worksheet, it will raise
exception: max() arg is an empty sequence