proper error handling for changing initial_period