fixed class error when edit campaign