fixed num_before ...