fix select_period
abc