fix get_times function to use default times