fixing activity templates