add judgement for synchronous_show