avoid semi-colon insertion in some special cases