Added check artemis legal to artemisHandler