added mode_id to @lastentry for con new