extract interval to config value