fix empty itemid on publish when passing Access