fix all_means