fix nullpoint exception when creating campaign