Done .I put the !gstate.isModeClear() back :)