fix x indicator exhibition bug
refined code