avoid duplicate errors on markActivity