Bug fix: different mobility programs can have different templates