add check code/key for simple conf